﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;

namespace Technoera.Common.QueryModel.QueryByDto
{
    [Serializable()]
    [Obsolete("You should use Technoera.Common.QueryModel.SortInfo")]
    public class SortInfo
    {
        public readonly static SortInfo Empty = new SortInfo();

        public SortInfo() { }

        private Collection<SortParameter> _parameters;
        public virtual Collection<SortParameter> Parameters
        {
            get
            {
                if (_parameters == null)
                    _parameters = new Collection<SortParameter>();

                return _parameters;
            }
            protected set
            {
                _parameters = value;
            }
        }
    }
}
